if(_root.CacheSac.hitTest(_root.Meg._x,_root.Meg._y,true) and Key.isDown(key.SPACE) and eval("/Variables:SacPris") != true)
{
tellTarget("/Animatiques")
{
gotoAndStop("PrendSac");
}
}
if(_root.CachePierre.hitTest(_root.Meg._x,_root.Meg._y,true) and Key.isDown(key.SPACE) and eval("/Variables:CordePierre") != true)
{
set("/Variables:CordePierre",true);
tellTarget("/Animatiques")
{
gotoAndStop("CordePierre");
}
}
if(_root.CacheLanceCorde.hitTest(_root.Meg._x,_root.Meg._y,true) and Key.isDown(key.SPACE) and eval("/Variables:BatonAttache") != true)
{
tellTarget("/Animatiques")
{
gotoAndStop("AttacheBaton");
}
}
if(_root.CacheLanceCorde.hitTest(_root.Meg._x,_root.Meg._y,true) and Key.isDown(key.SPACE) and eval("/Variables:BatonAttache") == true and eval("/Variables:CordePierre") == true and eval("/Variables:CordeLancee") != true)
{
set("/Variables:CordeLancee",true);
tellTarget("/Animatiques")
{
gotoAndStop("LanceBaton");
}
}
if(_root.CacheTireCorde.hitTest(_root.Meg._x,_root.Meg._y,true) and Key.isDown(key.SPACE) and eval("/Variables:BatonAttache") == true and eval("/Variables:CordePierre") == true and eval("/Variables:CordeLancee") == true and eval("/Variables:CordeTiree") != true)
{
set("/Variables:CordeTiree",true);
tellTarget("/Animatiques")
{
gotoAndStop("TireCorde");
}
}
if(_root.CacheCorde.hitTest(_root.Meg._x,_root.Meg._y,true) and key.isDown(key.SPACE) and eval("/Variables:Corde1Coupee") != true and eval("/Variables:ObjetSelect") == 4)
{
tellTarget("/Animatiques")
{
gotoAndStop("CoupeCorde1");
}
}
if(_root.CacheVersGrotte2.hitTest(_root.Meg._x,_root.Meg._y,true) and eval("/Variables:CordeTiree") == true)